<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<%@include file="/view/resource.jsp"%>
		<script type="text/javascript"
			src="${msUrl}/js/ux/orderInfo/employee_orderInfo.js"></script>
	</head>
	<body class="easyui-layout">
		<!-- Search panel start -->
		<div class="ui-search-panel" region="north" style="height: 80px;"
			title="搜索框"
			data-options="striped: true,collapsible:false,iconCls:'icon-search',border:false">
			<form id="searchForm">
				<p class="ui-fields">
					<label class="ui-label">
						编号:
					</label>
					<input name="number" class="easyui-box ui-text"
						style="width: 100px;">
				</p>
				<a href="#" id="btn-search" class="easyui-linkbutton"
					iconCls="icon-search">搜索</a>
			</form>
		</div>
		<!--  Search panel end -->

		<!-- DataList  -->
		<div region="center" border="false">
			<table id="data-list"></table>
		</div>
		
		<!-- Edit Form -->
     <div id="edit-win" class="easyui-dialog" title="编辑" data-options="closed:true,iconCls:'icon-save',modal:true" style="width:400px;height:300px;">  
     	<form id="editForm" class="ui-form" method="post"> 
     		 <input class="hidden" type="text" name="id"> 
     		 <input class="hidden" name="deleted">
     		 <div class="ui-edit">
	     	   <div class="ftitle">申请信息</div>   
	           <div class="fitem">  
	               <label>编号:</label>  
	               <input class="easyui-validatebox" type="text" name="number" data-options="required:true,validType:'length[1,20]'" disabled="disabled">
               </div>
               <div class="fitem">
	               <label>设备类型:</label>  
	               <input id="cc1" class="easyui-combobox" name="deviceType" data-options="valueField:'id',
	               textField:'name',url:'../deviceType/loadDeviceTypeList.do'" disabled="disabled">
               </div>
               <div class="fitem">  
	               <label>派单日期:</label>  
	               <input id="dd" type="text" name="sendDate" class="easyui-datebox" data-options="required:true" disabled="disabled">
	           </div>
               <div class="fitem">  
		           <label>存放地点:</label>  
		           <textarea class="easyui-validatebox" data-options="required:false,length:[0,100]" name="location" disabled="disabled"></textarea>
		       </div>   
		       <div class="fitem">  
		           <label>故障描述:</label>  
		           <textarea class="easyui-validatebox" data-options="required:false,length:[0,100]" name="malfunctionDesc" disabled="disabled"></textarea>
		       </div> 
		       <div class="fitem">
	               <label>维修员:</label>  
	               <input id="cc2" class="easyui-combobox" name="employeeId" data-options="valueField:'id',
	               textField:'name',url:'../employee/loadEmployeeList.do'" disabled="disabled">
               </div>
               <div class="fitem">  
	               <label>维修结果:</label>  
	               <select class="easyui-combobox" name="repairResult" data-options="required:true">
                    	<option value="1" selected="selected">已修好</option>
                    	<option value="2">无法修复</option>
                   	</select>
	           </div> 
               <div class="fitem">  
		           <label>维修结果备注:</label>  
		           <textarea class="easyui-validatebox" data-options="required:false,length:[0,100]" name="currentResult"></textarea>
		       </div> 
	         </div>
     	</form>
  	 </div> 
  	 
  	 <!-- View Form -->
     <div id="view-win" class="easyui-dialog" title="查看" data-options="closed:true,iconCls:'icon-search',modal:true" style="width:400px;height:300px;">  
     	<form id="viewForm" class="ui-form" method="post">  
     		 <input class="hidden" name="deleted">
     		 <div class="ui-edit">
	     	   <div class="ftitle">申请信息</div>   
	           <div class="fitem">  
	               <label>编号:</label>  
	               <input class="easyui-validatebox" type="text" name="number" data-options="required:true,validType:'length[1,20]'" disabled="disabled">
               </div>
               <div class="fitem">
	               <label>设备类型:</label>  
	               <input id="cc3" class="easyui-combobox" name="deviceType" data-options="valueField:'id',
	               textField:'name',url:'../deviceType/loadDeviceTypeList.do'" disabled="disabled">
               </div>
               <div class="fitem">  
	               <label>派单日期:</label>  
	               <input id="dd" type="text" name="sendDate" class="easyui-datebox" data-options="required:true" disabled="disabled">
	           </div>
               <div class="fitem">  
		           <label>存放地点:</label>  
		           <textarea class="easyui-validatebox" data-options="required:false,length:[0,100]" name="location" disabled="disabled"></textarea>
		       </div>   
		       <div class="fitem">  
		           <label>故障描述:</label>  
		           <textarea class="easyui-validatebox" data-options="required:false,length:[0,100]" name="malfunctionDesc" disabled="disabled"></textarea>
		       </div> 
		       <div class="fitem">
	               <label>维修员:</label>  
	               <input id="cc4" class="easyui-combobox" name="employeeId" data-options="valueField:'id',
	               textField:'name',url:'../employee/loadEmployeeList.do'" disabled="disabled">
               </div>
               <div class="fitem">  
	               <label>维修结果:</label>  
	               <select class="easyui-combobox" name="repairResult" data-options="required:true" disabled="disabled">
                    	<option value="1" selected="selected">已修好</option>
                    	<option value="2">无法修复</option>
                   	</select>
	           </div> 
               <div class="fitem">  
		           <label>维修结果备注:</label>  
		           <textarea class="easyui-validatebox" data-options="required:false,length:[0,100]" name="currentResult" disabled="disabled"></textarea>
		       </div>    
	         </div>
     	</form>
  	 </div> 
	</body>
</html>
